package Work;

public class Bird extends Animal implements AnimalBehavior{
    public Bird(String name) {
        super(name);
    }
    @Override
    public void makeSound() {
        System.out.println(name+":啾啾叫");
    }
    @Override
    public void behave() {
        System.out.println("做鸟叫");
    }
}
